package com.eclipsemail.core.reader;

import java.util.List;

import com.eclipsemail.core.authentication.Authenticable;
import com.eclipsemail.core.authentication.AuthenticationException;
import com.eclipsemail.core.message.EmailMessage;

public interface ReaderMail {

    public List<EmailMessage> getInbox(Authenticable authentication) throws AuthenticationException;

    public List<EmailMessage> getEmails(Authenticable authentication, String folder) throws AuthenticationException;

}
